﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
using System.Drawing;
using Website.Logger;
using DAL;
using BOL;
using System.Web.Script.Services;
using System.Web.Services;
using WebLib;
using UtilityExtensions;

namespace UILGestion.Control
{
    public partial class ECItemReAgrupadoPanel : System.Web.UI.UserControl
    {


        public List<EstructuraCostoitemReUsoInfo> reusoComparativoList { 
            get
            {
                return (List<EstructuraCostoitemReUsoInfo>) Session[idreUsoECItemList.Value];
            } 
        }

        public List<EstructuraCostoitemsingleInfo> newECItemList
        {
            get
            {
                return (List<EstructuraCostoitemsingleInfo>)Session[idNewInsumosECItemList.Value];
            }
        }
        public int idMoneda
        {
            get
            {
                return int.Parse(MonedaSeleccionDropDownList.SelectedValue);
            }
        }



        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                idEstructuraCosto.Value = (string)Request.QueryString["id"];
              //  FormatForm();
                
            }
            //FormatForm();

        }


    }
}